TEC\Tickets\Commerce\Ticket A

Total Complexity 75
Dependencies 19
Dependents 15
Total lines 885
Lines of code 364
Logical lines of code 224
Comment lines 376
Methods 16
Properties 12

Methods 16

Method Rating Maintainability Complexity Lines of code
save()
D
27
30 142
get_ticket()
S
43 6 45
delete()
S
51 7 24
modify_counters_by_status()
S
53 6 23
get_status_quantity()
S
57 4 16
get_qty_pending()
S
53 3 23
increase_ticket_sales_by()
S
65 3 8
decrease_ticket_sales_by()
S
64 3 9
get_cancelled()
S
59 2 14
register_post_type()
S
56 1 19
get_template()
S
64 2 10
update_stock_after_deletion()
S
66 2 8
update_global_stock()
S
66 2 9
get_price_value()
S
68 2 7
get_status_count_meta_key()
S
79 1 3
get_price_html()
S
74 1 4